from django.urls import path,include
from game.views.settings.getinfo import  InfoView
from game.views.settings.register import PlayerView
from rest_framework_simplejwt.views import (
    TokenObtainPairView,
    TokenRefreshView,
)

urlpatterns = [
    path('token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
    path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
    path("getinfo/",InfoView.as_view(),name="settings_getinfo"),
    path("register/",PlayerView.as_view(),name="settings_register"),
    path("acwing/",include("game.urls.settings.acwing.index")),
]
